import Vue from 'vue'
import App from './App.vue'

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

import router from "@/router/index";
import http from './utils/request';
import store from './store';
import permission from './permission'

// 引入 echarts 插件
import echarts from 'echarts'
// 配置成全局组件
Vue.prototype.$echarts = echarts

Vue.prototype.$axios = http

Vue.config.productionTip = false
Vue.use(ElementUI);

new Vue({
  render: h => h(App),
  router,
  store
}).$mount('#app')
